package net.lab1024.sa.admin.module.business.erp.domain.entity;

import cn.idev.excel.annotation.ExcelIgnore;
import cn.idev.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 工资明细 实体类
 *
 * @Author AKITA
 * @Date 2025-04-19 13:25:43
 * @Copyright AKITA
 */

@Data
@TableName("wagea")
public class WageaEntity {

    @TableId
    @ExcelProperty("电键")
    private Long docEntry;
    @ExcelProperty("行号")
    private Integer lineNum;
    @ExcelProperty("用户编码")
    private String userId;
    @ExcelProperty("用户名称")
    private String userName;
    @ExcelProperty("审核")
    private String approved;
    @ExcelProperty("基本工资")
    private BigDecimal basicWage = BigDecimal.ZERO;
    @ExcelProperty("岗位工资")
    private BigDecimal postWage = BigDecimal.ZERO;
    @ExcelProperty("绩效工资")
    private BigDecimal meritsWage = BigDecimal.ZERO;
    @ExcelProperty("危岗工资")
    private BigDecimal danPostWage = BigDecimal.ZERO;
    @ExcelProperty("餐食补贴")
    private BigDecimal mealWage = BigDecimal.ZERO;
    @ExcelProperty("加班补贴")
    private BigDecimal overTimeWage = BigDecimal.ZERO;
    @ExcelProperty("通讯补贴")
    private BigDecimal phoneWage = BigDecimal.ZERO;
    @ExcelProperty("工龄补贴")
    private BigDecimal ageWage = BigDecimal.ZERO;
    @ExcelProperty("补发")
    private BigDecimal reissueWage = BigDecimal.ZERO;
    @ExcelProperty("其它补贴")
    private BigDecimal otherWage = BigDecimal.ZERO;
    @ExcelProperty("其它")
    private BigDecimal other = BigDecimal.ZERO;
    @ExcelProperty("应发工资")
    private BigDecimal payableWage = BigDecimal.ZERO;
    @ExcelProperty("养老保险")
    private BigDecimal pensionSafe = BigDecimal.ZERO;
    @ExcelProperty("医疗保险")
    private BigDecimal healthSafe = BigDecimal.ZERO;
    @ExcelProperty("失业保险")
    private BigDecimal loseSafe = BigDecimal.ZERO;
    @ExcelProperty("住房公积金")
    private BigDecimal provident = BigDecimal.ZERO;
    @ExcelProperty("应税金额")
    private BigDecimal taxableAmount = BigDecimal.ZERO;
    @ExcelProperty("个人所得税")
    private BigDecimal persIncoTax = BigDecimal.ZERO;
    @ExcelProperty("退税")
    private BigDecimal rebateTax = BigDecimal.ZERO;
    @ExcelProperty("工资扣款")
    private BigDecimal deduWage = BigDecimal.ZERO;
    @ExcelProperty("应发金额")
    private BigDecimal payableAmount = BigDecimal.ZERO;
    @ExcelIgnore
    private Long baseEntry;
    @ExcelIgnore
    private String type;
    @ExcelIgnore
    @TableField(exist = false)
    private Boolean edit = false;
}
